package edu.fiu.cis.personalize.client;

import java.util.ArrayList;

import com.google.gwt.user.client.rpc.AsyncCallback;

import edu.fiu.cis.personalize.shared.GoogleDocument;
import edu.fiu.cis.personalize.shared.User;

/**
 * The async counterpart of <code>GreetingService</code>.
 */
public interface PersonalizedSearchServiceAsync {

	void search(String query, AsyncCallback<ArrayList<GoogleDocument>> callback);

	void clickGoogleDocument(String url, User user, AsyncCallback<Void> callback);

	void cronUpdate(AsyncCallback<Void> callback);

}
